package com.shouer.doc.ui.conversation.view;

import android.content.Context;

import com.shouer.doc.application.App;
import com.shouer.doc.ui.conversation.response.PayControllerDocResponse;
import com.shouer.doc.ui.conversation.response.QueryLeftTimeResponse;
import com.shouer.doc.ui.login.model.UserModel;
import com.shouer.doc.ui.neworder.model.SimpleOrderModel;

/**
 * Created by ZXL on 2016/12/6.
 */

public interface ICoversionView {

    App getApp();
    Context getContext();

    void closeOrderSuccess(String  orderId,String extend);
    void closeOrderFailed(String fialInfo);

    void rollBackOrderSuccess(String orderId);
    void rollBackOrderFailed(String failInfo);

    void queryOrderSuccess(SimpleOrderModel orderModel);
    void queryOrderFailed(String failInfo);
    void queryLeftTimeSuccess(QueryLeftTimeResponse response);
    void queryLeftTimeFailed(String failInfo);
    String getUserId();
    void queryUserFailed(String failInfo);
    void queryUserSuccess(UserModel userModel);

    void payControllerDocSuccess(PayControllerDocResponse response);
    void payControllerDocFailed(String failInfo);

    void close();
}
